home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960209-19960425 / 000100_news@columbia.edu _Tue Feb 27 01:43:35 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.35.159]) by watsun.cc.columbia.edu (8.7.3/8.7.3) with ESMTP id BAA29510 for <kermit.misc@watsun>; Tue, 27 Feb 1996 01:43:35 -0500 (EST)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.3/8.7.3) id BAA17714 for kermit.misc@watsun; Tue, 27 Feb 1996 01:43:31 -0500 (EST)
  4. Path: news.columbia.edu!sol.ctr.columbia.edu!news.msfc.nasa.gov!newsfeed.internetmci.com!solaris.cc.vt.edu!csugrad.cs.vt.edu!csugrad.cs.vt.edu!not-for-mail
  5. From: haggerty@csugrad.cs.vt.edu (Pete-O-Rama)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: C-Kermit, UNIX and term variables
  8. Date: 26 Feb 1996 11:54:01 -0500
  9. Organization: Virginia Tech Computer Science Dept, Blacksburg, VA
  10. Lines: 23
  11. Message-ID: <4gsoj9$moc@csugrad.cs.vt.edu>
  12. References: <4gla4o$rp6@csugrad.cs.vt.edu> <ZEPEDA.96Feb23153749@am51.wg.waii.com> <4glibl$5ss@csugrad.cs.vt.edu> <4gna22$ggh@apakabar.cc.columbia.edu>
  13. X-Newsreader: TIN [version 1.2 PL2]
  14.  
  15. Frank da Cruz (fdc@watsun.cc.columbia.edu) wrote:
  16. : In any case, you might find you have an easier time writing your program
  17. : entirely as a Kermit script, rather than trying to mix expect and Kermit.
  18. : That's what the Kermit script language is for.
  19.  
  20. I would probably be writing it in Kermit script if I had known about it
  21. before I started it in expect and got it working perfectly except for this
  22. cron problem.  It runs just fine, right up until expect spawns the kermit 
  23. process and Kermit apparently then terminates, killing the expect script
  24. along with it.  The csh script wrapped around the expect script keeps running
  25. but I just don't understand why Kermit fails.  I have set every term and 
  26. environment variable I can see (set and setenv) and Kermit still seems to
  27. need something else simulated.
  28.  
  29. What does Kermit "look" for when it starts up?  Is there some other way to
  30. fool Kermit into thinking it is being run from a command line in an active
  31. shell instead of being run from cron? (with a shell and expect script wrapped
  32. around it)
  33.  
  34. Thanks,
  35.  
  36. Peter
  37.